﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QXBook.Model
{
    /// <summary>
    /// pop存储在配置文件里,取的时候用DataTable不喜欢用sql管理
    /// 权限设置两级
    /// </summary>
    public class PopDomInfo
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int PopID { get { return this._id; } set { this._id = value; } }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PopName { get { return this._popname; } set { this._popname = value; } }
        /// <summary>
        /// 连接地址
        /// </summary>
        public string Url { get { return this._url; } set { this._url = value; } }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get { return this._ParentId; } set { this._ParentId = value; } }

        ///// <summary>
        ///// 父级ID树
        ///// </summary>
        //public string ParentIdTree { get; set; }

        public string IconKey { get; set; }

        private int _id;
        //private DateTime _addtime = DateTime.Now;
        private string _popname;
        private string _url;
        private int _ParentId;
    }
}
